FROM python:3.8-buster

WORKDIR /model

COPY Function.py Function.py 
COPY model_api.py model_api.py
COPY models2 models2
COPY RecognitionAppliction.py RecognitionAppliction.py
COPY requirements.txt requirements.txt
COPY sql_param.txt sql_param.txt 
COPY THUCNews THUCNews

RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
CMD ["python", "model_api.py"]